#-------------------------------------------------------------------------------
#	file Makefile
#	brief
#
#	$Id: Makefile 257 2014-04-07 08:37:33Z ac.verbeck@gmail.com $
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
#	Environment
#-------------------------------------------------------------------------------
CC			= g++
WINDRES		= windres
CPPFLAGS	= -I/mingw/lib/wx/include/msw-unicode-3.0 -I/mingw/include/wx-3.0 -D_LARGEFILE_SOURCE=unknown -DWXUSINGDLL -D__WXMSW__ -mthreads
LDLIBS		= -L/mingw/lib -Wl,--subsystem,windows -mwindows -lwx_mswu_xrc-3.0 -lwx_mswu_webview-3.0 -lwx_mswu_html-3.0 -lwx_mswu_qa-3.0 -lwx_mswu_adv-3.0 -lwx_mswu_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 

#-------------------------------------------------------------------------------
#	Targets
#-------------------------------------------------------------------------------
TARGET		= icon

#-------------------------------------------------------------------------------
#	Object files
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
#	Rules
#-------------------------------------------------------------------------------
.PHONY:	all clean format
all:		$(TARGET)

clean:;		$(RM) *.o
			$(RM) *.bak
			$(RM) *.exe
			$(RM) *.cpp.orig
			$(RM) *.h.orig

format:;	astyle --pad-header --unpad-paren --style="k&r" --indent=tab --lineend=windows --recursive "*.cpp" "*.h"

#-------------------------------------------------------------------------------
#	Dependencies
#-------------------------------------------------------------------------------
icon.o:			icon.cpp
main.o:			main.cpp

$(TARGET):		main.o icon.o

#
#	End: Makefile
#
